<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .qq{
            width: 200px;
            height: 200px;
            background-color: aqua;
            position: absolute;
            animation:qq 3s;
            animation-timing-function:linear;
            animation-delay:0s ;
            animation-timing-function:3s ;
        }
        @keyframes qq{
            0%{background-color: aquamarine; left: 0px; top: 0px;}
            50%{background-color: yellow; left: 50px; top: 0px;}
            100%{background-color: red; left: 0px; top: 50px;}
        }
    </style>
</head>
<body>
    <div class="qq"></div>
</body>
</html>